function getIndex(name) {
    var arr = name.split('_');
    var index = arr[1];
    return index;
}
/* Add exists method to jQuery object
 */
jQuery.fn.exists = function(){
    return this.length>0;
}

function view_data(){
	//address
	for (i = 0; i < MAX_MARKERS; i++) {
		if (markers[i] && markers[i].position) {
			console.log(markers[i].title + '-' + markers[i].position.lat() + '- ' + markers[i].position.lng());
		}
	}
	//map
	console.log(BIZ_MAP.zoom);
	console.log(BIZ_MAP.mapTypeId);
	console.log(BIZ_MAP.center.lat());
	console.log(BIZ_MAP.center.lng());
}